export interface TextItem {
    id: string
    source: string
    crawlTime: string
    content: string
    url?: string
  }
  
  export interface ImageItem {
    id: string
    filename: string
    source: string
    crawlTime: string
    url: string
    thumbnailUrl: string
    size?: number
    width?: number
    height?: number
  }
  
  export interface LogItem {
    id: string
    timestamp: string
    type: 'text' | 'image' | 'system' | 'error'
    status: 'success' | 'warning' | 'error' | 'info'
    message: string
    details?: string
  }
  
  export interface DashboardData {
    stats: {
      textCount: number
      imageCount: number
      todayTexts: number
      todayImages: number
    }
    growth: Array<{
      date: string
      texts: number
      images: number
    }>
    distribution: Array<{
      type: string
      count: number
    }>
    recentLogs: LogItem[]
  }